﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BasicData.ErrorCode
{
    // created by FuMingJun
    /// <summary>
    /// 分页包装类
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class ApiPaging<T> : ApiResult<T>
    {
        /// <summary>
        /// 总条数
        /// </summary>
        public int TotalCount {  get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int TotalPage {  get; set; }
        /// <summary>
        /// 分页数据
        /// </summary>
        public List<T> Items { get; set; }
    }
}
